#include "Range.h"
#include "TowerBase.h"
#include "TexturePool.h"
Range::Range(void):Sprite()
{
	texture = TexturePool::getPtr()->getTexture("Data/range.png",area.w,area.h);
	
}


Range::~Range(void)
{
	texture = NULL;
}

void Range::reScale()
{
	setWidth(2 * value);
	setHeight(2 * value);

}

void Range::setValue(double val)
{
	value = val;
	reScale();
}
double Range::getValue()
{
	return value;
}
